//
// Created by jizhe hu on 2024/7/10.
//

#ifndef SYNC_NONCOPYABLE_HPP
#define SYNC_NONCOPYABLE_HPP

namespace sync {

/**
 * @brief 对象无法拷贝,赋值
 */
class Noncopyable {
public:
    Noncopyable() = default;

    ~Noncopyable() = default;

    Noncopyable(const Noncopyable&) = delete;

    Noncopyable& operator=(const Noncopyable&) = delete;
};

}

#endif //SYNC_NONCOPYABLE_HPP
